package com.longe.fallback;

import com.longe.service.ProviderService;
import org.springframework.stereotype.Component;

/**
 * 降级
 */
@Component//这个注解要添加上
public class ProviderServiceFallBack implements ProviderService {

    @Override
    public String requestProviderService() {
        return "大兄弟, 触发降级了......";
    }

}